package us.kg.kotoriforest.mybatis.crud.mapper;

import org.apache.ibatis.annotations.Mapper;
import us.kg.kotoriforest.mybatis.crud.pojo.Emp;

import java.util.List;

/**
 * @author Kotori rotroutine@163.com
 * @since 2025/2/16
 */
@Mapper
public interface EmpMapper {
    Emp getEmpById(int id);

    int addEmp(Emp emp);

    int deleteEmpById(int id);

    int updateEmp(Emp emp);

    List<Emp> getAllEmps();
}
